from django.urls import path
from. import views

urlpatterns = [
    path('', views.question_list, name='question_list'),  # 练习题列表页面路由
    path('<int:question_id>/', views.answer_question, name='answer_question'),  # 答题页面路由，<int:question_id> 捕获题目 ID
    path('<int:question_id>/correct_answer/', views.correct_answer, name='correct_answer'),  # 正确答案提示页面路由
    path('<int:question_id>/incorrect_answer/', views.incorrect_answer, name='incorrect_answer'),  # 错误答案提示页面路由
]